/*
Write your variables here. All available variables can be
found in element-ui/packages/theme-chalk/src/common/var.scss.
For example, to overwrite the theme color:
*/
$--color-primary: #409eff;

/* icon font path, required */
$--font-path: '~element-ui/lib/theme-chalk/fonts';

@import "../../../node_modules/element-ui/packages/theme-chalk/src/index";

.el-button--min {
  padding: 4px 8px;
  font-size: 12px;
}

.el-button--small {
  padding: 7px 10px;
}

.el-input--small .el-input__inner {
  height: 28px;
  line-height: 28px;
}

//分页样式
.el-pagination {
  text-align: right;
  margin-top: 10px;

  li, button {
    border: 1px solid #e1e1e1;
    min-width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 4px;
    margin: 0 4px;
    color: #585858;
    font-size: 14px;
    font-weight: normal;

    &.active, &:hover {
      border-color: #4E81FF;
      color: #4E81FF;
    }
  }


  li.active + li {
    border: 1px solid #e1e1e1;
  }

  button.btn-prev, button.btn-next {
    padding: 0;
  }

  .el-input--mini .el-input__inner {
    height: 28px;
    line-height: 28px;
  }

  .el-pagination__sizes {
    margin-right: 4px;
  }
}

.el-form--label-top {
  .el-form-item__label {
    padding: 0;
    height: 36px;
    line-height: 36px;
    color: #9A9A9A;
    font-size: 13px;
  }

  .el-form-item__content {
    line-height: initial;
  }

  .el-button + .el-button {
    margin-left: 5px;
  }

}

.el-table th.is-leaf {
  background: #f3f3f3;
}

.el-tabs__nav-wrap::after {
  height: 1px;
}

.el-button--small {
  min-width: 76px;
}

//黄色按钮
.el-button--yellow {
  background: #FFCA00;
  border-color: #FFCA00;
  color: #333;

  &:hover {
    background: #FFD533;
    border-color: #FFD533;
    color: #333;
  }
}

//灰色按钮
.el-button--gray {
  background: #ccc;
  border-color: #ccc;
  color: #fff;

  &:hover,&:focus {
    background: #ccc;
    border-color: #ccc;
    color: #fff;
    opacity: 0.8;
  }
}

.el-rate__icon {
  margin-right: 0;
}

.el-rate__text {
  font-size: 12px;
}

.el-input-group__append, .el-input-group__prepend {
  padding-left: 12px;
  padding-right: 12px;
  font-size: 12px;
}

.v-square {
  .el-input__inner, .el-input-group__append, .el-input-group__prepend {
    border-radius: 0;
  }
}

.el-dialog__header,.el-dialog__footer {
  padding: 15px 20px;
  background: #f3f3f3;
}

.el-dialog__title {
  font-size: 16px;
}

